%layout legacy commands
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter.\ #1}{}}


%user defined
\newcommand{\license}{\href{http://creativecommons.org/licenses/by/3.0/}{Some rights reserved}}
\newcommand{\info}{\doctitle\ v\lastversion}
\newcommand{\labelstyle}[1]{\textbf{\begin{footnotesize}{\color{white}{\colorbox{deep}{#1}}}\end{footnotesize}}}
\newcommand{\glossarylabel}[1]{{\color{deep}{\colorbox{white}{#1}}}}



%definizione delle abbreviazioni funzionale.. qualitativo
\newcommand{\F}{\labelstyle{Funzionale}}
\newcommand{\Q}{\labelstyle{Qualitativo}}
\newcommand{\U}{\labelstyle{Usabilità}}
\newcommand{\M}{\labelstyle{Manutenibilità}}
\newcommand{\X}{\labelstyle{Estendibilità}}
\newcommand{\E}{\labelstyle{Efficienza}}
\newcommand{\OS}{\labelstyle{Portabilità}}

%definizione delle abbreviazioni per le riunioni `r` e numero romano nel comando (non accetta i numeri arabi)
\newcommand{\rIV}{\href{https://sites.google.com/site/xideproject/verbali-riunioni/riunione427042009}{R4}}
\newcommand{\UC}{\labelstyle{Use-Case}}
\newcommand{\RM}{{\href{http://sites.google.com/site/xideproject/discussions/discussioni-generali/requisiti}{Requisiti-Mediv}}}
\newcommand{\RA}{{\href{http://sites.google.com/site/xideproject/discussions/discussioni-generali/requisitibyanthony}{Requisiti-Anthony}}}
\newcommand{\MR}{{\href{http://code.google.com/p/xideproject/issues/detail?id=43}{Modifica-Requisiti}}}
\newcommand{\DR}{{\href{http://code.google.com/p/xideproject/issues/detail?id=15}{Definizione-Requisiti}}}